﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BankList_ProjectDetails.aspx.cs"
    Inherits="Thksoft.Module.ProjectDetails.BankList_ProjectDetails" %>

<!DOCTYPE html>
<html class="L_UI">
<head id="Head1" runat="server">
    <title>银行流水记录明细</title>
    <link href="../../CSS/Main.css" rel="stylesheet" type="text/css" />
    <link href="../../UserCotrols/My97DatePicker/skin/WdatePicker.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:HiddenField runat="server" ID="FORM_KEY1" />
        <asp:HiddenField runat="server" ID="FORM_KEY2" />
        <asp:HiddenField runat="server" ID="FORM_KEY3" />
        <asp:HiddenField runat="server" ID="FORM_KEY4" />
        <asp:HiddenField runat="server" ID="FORM_KEY5" />
        <asp:HiddenField runat="server" ID="FORM_KEY6" />
        <asp:HiddenField runat="server" ID="FORM_KEY7" />
        <asp:HiddenField runat="server" ID="FORM_KEY8" />
        <div class="Window" style="min-width: 840px; top: 10px;">
            <div class="Pg-Content">
                <div class="Header" style="height: 20px; text-align: right; padding: 0 10px;">
                    <span>共计发生额：<asp:Label runat="server" ID="FORM_SUM" Text="0"> </asp:Label>
                        万元,本页发生额：<asp:Label runat="server" ID="FORM_SUM1" Text="0"></asp:Label>万元</span>
                </div>
                <div class="Content" style="top: 20px;">
                    <asp:ScriptManager ID="ScriptManagers" runat="server" EnablePageMethods="True" EnableScriptGlobalization="True"
                        EnableScriptLocalization="True">
                    </asp:ScriptManager>
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:GridView ID="grvShow1" runat="server" AutoGenerateColumns="False" CssClass="cont_list zebra"
                                Width="100%" EmptyDataText="没有查找到您要的数据" AllowSorting="True" OnSorting="grvShow1_Sorting">
                                <Columns>
                                    <asp:BoundField DataField="C_ACCNO2" HeaderText="对方账号" SortExpression="C_ACCNO2"
                                        ItemStyle-Width="150px" />
                                    <asp:BoundField DataField="C_ACC_NAME1" HeaderText="对方账户名称" SortExpression="C_ACC_NAME1"
                                        ItemStyle-Width="150px" />
                                    <asp:BoundField DataField="C_CADBANK_NM" HeaderText="银行" SortExpression="C_CADBANK_NM" ItemStyle-Width="100px" />

                                    <asp:TemplateField SortExpression="d_trandate" ItemStyle-Width="70px" HeaderText="日期">
                                        <ItemTemplate>
                                            <%# Utility.Helper.HtmlHelper.DateFormat(Eval("d_trandate"),"yyyy-MM-dd HH:mm:ss") %>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="发生额" SortExpression="n_amt" ItemStyle-Width="50px">
                                        <ItemTemplate>
                                            <%# Convert.ToDecimal(Eval("n_amt"))/10000 %>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="借贷标志" SortExpression="n_flag1" ItemStyle-Width="50px">
                                        <ItemTemplate>
                                            <%#(Convert.ToInt32(Eval("n_flag1"))==0?"转出":"转入")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="c_Proweeknum" HeaderText="银行流水号" SortExpression="c_Proweeknum"
                                        ItemStyle-Width="70px" />
                                    <asp:BoundField DataField="C_DET" HeaderText="备注" SortExpression="C_DET"
                                        ItemStyle-Width="70px" />
                                </Columns>
                            </asp:GridView>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </div>
            <div class="Pg">
                <uc1:Pagination ID="PageIng" runat="server" OnDataBinding="PageIng_DataBinding" Visible="false" />
            </div>
        </div>
    </form>
</body>
</html>